/**
 * 应用程序初始化器，通过该类可以在spring bean初始化之前做一些初始化工作
 */
package com.cnfangmao.common.initializer;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

import com.cnfangmao.common.util.ClassUtilWithAutowired;


public class CommonApplicationContextInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> {

	public void initialize(ConfigurableApplicationContext applicationContext) {
		ClassUtilWithAutowired.setApplicationContext(applicationContext);
	}
}
